package cn.wizzer.app.user.modules.services;

import cn.wizzer.app.crown.modules.models.CrownBetCount;
import cn.wizzer.framework.base.service.BaseService;
import cn.wizzer.framework.page.Pagination;

import java.util.Map;


public interface CrownBetCountService extends BaseService<CrownBetCount> {

    /**
     * 记录统计
     * @param appid
     * @return
     */
    Map recordCount(String appid);

    /**
     * 统计并记录
     */
    void countResult();

    Pagination listPage(String userSearch, String inviterSearch, String[] searchDate, int pageNumber, int pageSize);

    Map agentIncomeRecord(Integer pageNumber, int pageSize, String startTime, String endTime, String searchKeyword, String userId);

}
